package com.lemonfish.service.impl;

import com.lemonfish.mapper.GoodsParamMapper;
import com.lemonfish.pojo.entity.GoodsParam;
import com.lemonfish.service.GoodsParamService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 分类参数相关Service实现
 *
 * @author Lemonfish
 * @version 1.0
 * @date 2020-03-09
 * Copyright © Chao Zhang
 */
@Slf4j
@Service
public class GoodsParamServiceImpl extends BaseCustomServiceImpl<GoodsParamMapper, GoodsParam> implements GoodsParamService {
    @Autowired
    GoodsParamMapper goodsParamMapper;

    @Override
    public boolean insertParam(GoodsParam goodsParam) {
        return goodsParamMapper.insertParam(goodsParam);
    }
}
